Mark a missing asset as recovered. Provide the recovery status, reason for being missing, and optional additional details.
Rate limit: 100 requests/min (learn more about rate limits here).
To use this endpoint, select Write Assets under the Assets category when creating or editing an API token. Learn More.
Submit Feedback: Likes, dislikes, and API feature requests should be filed as feedback in our API feedback form. If you encountered an issue or noticed inaccuracies in the API documentation, please submit a case to our support team.
curl --request POST \
--url https://api.samsara.com/fleet/assets/device-recovery/{id}/recovered \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"missing_reason": "MISPLACED",
"recovery_status": "YES",
"status": "RECOVERED",
"additional_details": "Found in warehouse B"
}
'{
"data": {
"id": "12345",
"name": "Trailer-A1234",
"updated_at_ms": 1609459200000,
"note": "Asset was last seen at warehouse A",
"notification_recipients": [
{
"email": "jane.doe@example.com",
"name": "Jane Doe",
"notification_types": [
"email"
],
"user_id": 1234
}
],
"recovery_photos": [
{
"start_ms": 1609459200000,
"status": "EXISTS",
"url": "https://s3.amazonaws.com/samsara-recovery-photos/example.jpg",
"url_expires_at_ms": 1609462800000
}
],
"update_source": "dashboard",
"updated_by_user_id": 1234
}
}Documentation Index
Fetch the complete documentation index at: https://samsara-showcase.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the asset. This can be a Samsara internal ID or an external ID in the format key:value.
Request body for recovering an asset.
The reason the asset was marked as missing. Valid values: MISPLACED, STOLEN, NOT_SURE
MISPLACED, STOLEN, NOT_SURE "MISPLACED"
Whether the asset has been physically recovered. Valid values: YES, NO, NOT_SURE
YES, NO, NOT_SURE "YES"
The recovery status to set for the asset. Valid values: RECOVERED
RECOVERED "RECOVERED"
Optional additional details about the recovery.
"Found in warehouse B"
OK response.
A recovered asset with its recovery details, including recovery photos.
Show child attributes
curl --request POST \
--url https://api.samsara.com/fleet/assets/device-recovery/{id}/recovered \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"missing_reason": "MISPLACED",
"recovery_status": "YES",
"status": "RECOVERED",
"additional_details": "Found in warehouse B"
}
'{
"data": {
"id": "12345",
"name": "Trailer-A1234",
"updated_at_ms": 1609459200000,
"note": "Asset was last seen at warehouse A",
"notification_recipients": [
{
"email": "jane.doe@example.com",
"name": "Jane Doe",
"notification_types": [
"email"
],
"user_id": 1234
}
],
"recovery_photos": [
{
"start_ms": 1609459200000,
"status": "EXISTS",
"url": "https://s3.amazonaws.com/samsara-recovery-photos/example.jpg",
"url_expires_at_ms": 1609462800000
}
],
"update_source": "dashboard",
"updated_by_user_id": 1234
}
}